﻿namespace KeRui.Common
{
    using System;
    using System.Web.Caching;

    public abstract class LogVisitor
    {
        protected static int m_IsWriteCachelog = 1;

        protected LogVisitor()
        {
        }

        public abstract void WriteLog(DefaultCacheStrategy dcs, string key, object val, CacheItemRemovedReason reason);

        public int IsWriteCacheLog
        {
            get
            {
                return m_IsWriteCachelog;
            }
            set
            {
                m_IsWriteCachelog = value;
            }
        }
    }
}

